2004-07-08 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
+ to restore the default search function. (#145365, John Finlay)
+
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
2004-07-08 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
+ to restore the default search function. (#145365, John Finlay)
+
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
2004-07-08 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
+ to restore the default search function. (#145365, John Finlay)
+
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
2004-07-08 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
+ to restore the default search function. (#145365, John Finlay)
+
* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context. (#144324, Alex Larsson)
/**
* gtk_tree_view_set_search_equal_func:
* @tree_view: A #GtkTreeView
- * @search_equal_func: the compare function to use during the search
+ * @search_equal_func: the compare function to use during the search, or %NULL
+ * to restore the default function
* @search_user_data: user data to pass to @search_equal_func, or %NULL
* @search_destroy: Destroy notifier for @search_user_data, or %NULL
*
GtkDestroyNotify search_destroy)
{
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
- g_return_if_fail (search_equal_func !=NULL);
if (tree_view->priv->search_destroy)
(* tree_view->priv->search_destroy) (tree_view->priv->search_user_data);